#include <iostream>

using namespace std;

int main()
{
  int array[] = {11, 12, 13, 14, 15};
  int *p = array;
  for (int i = 0; i < 5; i++)
  {
    cout << "The value of array[" << i << "] is (*(p + i)): " << *(p + i) << ", (p[" << i << "]): " << p[i] << endl;
  }

  return 0;
}
